﻿<?xml version="1.0" encoding="utf-8"?>
<List xmlns:ows="Microsoft SharePoint" Title="Donation -DonationList" FolderCreation="FALSE" Direction="$Resources:Direction;" Url="Lists/Donation-DonationList" BaseType="0" xmlns="http://schemas.microsoft.com/sharepoint/">
  <MetaData>
    <ContentTypes>
      <ContentType
       ID="0x0100247971ABF81E4ac9B96C7C6287D18774"
       Name="Donation Item"
       Group="Sample Content Types"
       Description="Donations item content type."
       Version="0">
        <FieldRefs>
          <FieldRef ID="{fa564e0f-0c70-4ab9-b863-0177e6ddd247}" Name="Title" Required="TRUE" DisplayName="Donation purpose" />
          <FieldRef
            ID="{76B3E608-4ED1-4F8F-ADFE-95AE9CCF438E}"
            Name="Amount"
            Required="TRUE"
            ShowInNewForm="TRUE"
            ShowInEditForm="TRUE"/>
          <FieldRef
            ID="{8E6C31CE-0BE3-4BB9-A763-A33554D6DCA4}"
            Name="FirstName"
            Required="FALSE"
            ShowInNewForm="TRUE"
            ShowInEditForm="TRUE"/>
          <FieldRef
            ID="{B1428D3B-7F1D-479C-9029-731D9BC96935}"
            Name="LastName"
            Required="FALSE"
            ShowInNewForm="TRUE"
            ShowInEditForm="TRUE"/>
        </FieldRefs>
      </ContentType >
    </ContentTypes>
    <Fields>
      <Field ID="{76B3E608-4ED1-4F8F-ADFE-95AE9CCF438E}" DisplayName="Amount"
             Type="Currency" Required="TRUE" StaticName="Amount"
             Name="Amount"
             SourceID="http://schemas.microsoft.com/sharepoint/v3" />
      <Field ID="{8E6C31CE-0BE3-4BB9-A763-A33554D6DCA4}" DisplayName="First Name"
             Type="Text" Required="FALSE" MaxLength="100" StaticName="FirstName"
             Name="FirstName"
             SourceID="http://schemas.microsoft.com/sharepoint/v3" />
      <Field ID="{B1428D3B-7F1D-479C-9029-731D9BC96935}" DisplayName="Last Name"
             Type="Text" Required="FALSE" MaxLength="100" StaticName="LastName"
             Name="LastName"
             SourceID="http://schemas.microsoft.com/sharepoint/v3" />
    </Fields>
    <Views>
      <View BaseViewID="0" Type="HTML" MobileView="TRUE" TabularView="FALSE">
        <Toolbar />
        <XslLink>main.xsl</XslLink>
        <ViewBody>
          <HTML><![CDATA[<tr class="]]></HTML>
          <GetVar Name="AlternateStyle" />
          <HTML><![CDATA["]]></HTML>
          <Switch>
            <Expr>
              <GetVar Name="TabularView" />
            </Expr>
            <Case Value="1">
              <HTML><![CDATA[ iid="]]></HTML>
              <Counter Type="View" />
              <HTML>,</HTML>
              <Column Name="ID" HTMLEncode="TRUE" />
              <HTML><![CDATA[,]]></HTML>
              <LookupColumn Name="FSObjType" HTMLEncode="TRUE" />
              <HTML><![CDATA["><td class="ms-vb-itmcbx"><input type="checkbox" class="s4-itm-cbx"/></td>]]></HTML>
            </Case>
            <Default>
              <HTML><![CDATA[>]]></HTML>
            </Default>
          </Switch>
          <IfEqual>
            <Expr1>
              <GetVar Name="AlternateStyle" />
            </Expr1>
            <Expr2>ms-alternating</Expr2>
            <Then>
              <SetVar Scope="Request" Name="AlternateStyle"></SetVar>
            </Then>
            <Else>
              <SetVar Scope="Request" Name="AlternateStyle">ms-alternating</SetVar>
            </Else>
          </IfEqual>
          <Fields>
            <HTML><![CDATA[<td class="]]></HTML>
            <FieldSwitch>
              <Expr>
                <Property Select="ClassInfo" />
              </Expr>
              <Case Value="Menu">
                <HTML><![CDATA[ms-vb-title" onmouseover="OnChildItem(this)" height="100%]]></HTML>
              </Case>
              <Case Value="Icon">ms-vb-icon</Case>
              <Default>
                <FieldSwitch>
                  <Expr>
                    <Property Select="Type" />
                    <PresenceEnabled />
                  </Expr>
                  <Case Value="UserTRUE">ms-vb-user</Case>
                  <Case Value="UserMultiTRUE">ms-vb-user</Case>
                  <Default>ms-vb2</Default>
                </FieldSwitch>
              </Default>
            </FieldSwitch>
            <HTML><![CDATA[">]]></HTML>
            <Field />
            <HTML><![CDATA[</td>]]></HTML>
          </Fields>
          <HTML><![CDATA[</tr>]]></HTML>
        </ViewBody>
        <RowLimit>20</RowLimit>
        <ViewFields>
          <FieldRef Name="LinkTitleNoMenu"></FieldRef>
          <FieldRef Name="Amount" />
          <FieldRef Name="LastName" />
          <FieldRef Name="FirstName" />
        </ViewFields>
        <Query>
          <OrderBy>
            <FieldRef Name="Modified" Ascending="FALSE"></FieldRef>
          </OrderBy>
        </Query>
        <ParameterBindings>
          <ParameterBinding Name="AddNewAnnouncement" Location="Resource(wss,addnewitem)" />
          <ParameterBinding Name="NoAnnouncements" Location="Resource(wss,noXinviewofY_LIST)" />
          <ParameterBinding Name="NoAnnouncementsHowTo" Location="Resource(wss,noXinviewofY_ONET_HOME)" />
        </ParameterBindings>
      </View>
      <View BaseViewID="1" Type="HTML" WebPartZoneID="Main" DisplayName="$Resources:core,objectiv_schema_mwsidcamlidC24;" DefaultView="TRUE" MobileView="TRUE" MobileDefaultView="TRUE" SetupPath="pages\viewpage.aspx" ImageUrl="/_layouts/images/generic.png" Url="AllItems.aspx">
        <Toolbar />
        <XslLink>main.xsl</XslLink>
        <ViewBody>
          <HTML><![CDATA[<tr class="]]></HTML>
          <GetVar Name="AlternateStyle" />
          <HTML><![CDATA["]]></HTML>
          <Switch>
            <Expr>
              <GetVar Name="TabularView" />
            </Expr>
            <Case Value="1">
              <HTML><![CDATA[ iid="]]></HTML>
              <Counter Type="View" />
              <HTML>,</HTML>
              <Column Name="ID" HTMLEncode="TRUE" />
              <HTML><![CDATA[,]]></HTML>
              <LookupColumn Name="FSObjType" HTMLEncode="TRUE" />
              <HTML><![CDATA["><td class="ms-vb-itmcbx"><input type="checkbox" class="s4-itm-cbx"/></td>]]></HTML>
            </Case>
            <Default>
              <HTML><![CDATA[>]]></HTML>
            </Default>
          </Switch>
          <IfEqual>
            <Expr1>
              <GetVar Name="AlternateStyle" />
            </Expr1>
            <Expr2>ms-alternating</Expr2>
            <Then>
              <SetVar Scope="Request" Name="AlternateStyle"></SetVar>
            </Then>
            <Else>
              <SetVar Scope="Request" Name="AlternateStyle">ms-alternating</SetVar>
            </Else>
          </IfEqual>
          <Fields>
            <HTML><![CDATA[<td class="]]></HTML>
            <FieldSwitch>
              <Expr>
                <Property Select="ClassInfo" />
              </Expr>
              <Case Value="Menu">
                <HTML><![CDATA[ms-vb-title" onmouseover="OnChildItem(this)" height="100%]]></HTML>
              </Case>
              <Case Value="Icon">ms-vb-icon</Case>
              <Default>
                <FieldSwitch>
                  <Expr>
                    <Property Select="Type" />
                    <PresenceEnabled />
                  </Expr>
                  <Case Value="UserTRUE">ms-vb-user</Case>
                  <Case Value="UserMultiTRUE">ms-vb-user</Case>
                  <Default>ms-vb2</Default>
                </FieldSwitch>
              </Default>
            </FieldSwitch>
            <HTML><![CDATA[">]]></HTML>
            <Field />
            <HTML><![CDATA[</td>]]></HTML>
          </Fields>
          <HTML><![CDATA[</tr>]]></HTML>
        </ViewBody>
        <RowLimit Paged="TRUE">30</RowLimit>
        <ViewFields>
          <FieldRef Name="Attachments"></FieldRef>
          <FieldRef Name="LinkTitle"></FieldRef>
          <FieldRef Name="Amount" />
          <FieldRef Name="LastName" />
          <FieldRef Name="FirstName" />
        </ViewFields>
        <Query>
          <OrderBy>
            <FieldRef Name="ID"></FieldRef>
          </OrderBy>
        </Query>
        <ParameterBindings>
          <ParameterBinding Name="NoAnnouncements" Location="Resource(wss,noXinviewofY_LIST)" />
          <ParameterBinding Name="NoAnnouncementsHowTo" Location="Resource(wss,noXinviewofY_DEFAULT)" />
        </ParameterBindings>
      </View>
    </Views>
    <Forms>
      <Form Type="DisplayForm" Url="DispForm.aspx" SetupPath="pages\form.aspx" WebPartZoneID="Main" />
      <Form Type="EditForm" Url="EditForm.aspx" SetupPath="pages\form.aspx" WebPartZoneID="Main" />
      <Form Type="NewForm" Url="NewForm.aspx" SetupPath="pages\form.aspx" WebPartZoneID="Main" />
    </Forms>
  </MetaData>
</List>